package com.example.behaviorpattern.state;

/**
 * PlayerState interface.
 * @author yaojianfeng
 */
public interface PlayerState {
    /**
     * Play the music.
     * @param context MusicPlayer context.
     */
    void play(MusicPlayer context);

    /**
     * Stop the music.
     * @param context MusicPlayer context.
     */
    void stop(MusicPlayer context);

    /**
     * Pause the music.
     * @param context MusicPlayer context.
     */
    void pause(MusicPlayer context);
}